ROUTER

class ROUTER

Description: handle path_info or CGI query string information to logically determine a cgi application flow control. This class allows you use develop * a restful api, and then serve up content based upon the path_info or CGI * query string information. IE. "/foo/" or "?func=foo"

Members

Functions

runQueryRoute
bool runQueryRoute(string name, ROUTE route)

Run a route based off if a cgi variable exists in a query string.

runRoute
bool runRoute(string path, ROUTE route)

* run a route based off the path_info envirement variable

Meta